var number = getCookie("Number");
var password = getCookie("Password");
//alert(number+password);
var data = {
    number: number,
    password: password
};
$.ajax({
    type: "post",
    dataType: "text",
    url: "/fp_war_exploded/login",
    data: JSON.stringify(data),
    success: function (result) {
        if (result.match("success")) {
            //alert("登录成功");
            //window.location.href = "index.html";
            sessionStorage.setItem("number", number);
        }
    },
    error: function () {
        alert("error");
    }
});